//
//  VPOSPhotoButton.h
//  Colourful
//
//  Created by xy on 13-7-23.
//  Copyright (c) 2013年 handpay. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AccountInfoData.h"

@protocol ZZTongPhotoButtonDelegate <NSObject>

@optional
//- (void) photoComplete:(UIButton*)button withImage:(UIImage*)image imgStr:(NSString*)imgStr;
- (void) photoStart:(UIButton*)button;
@end

@interface ZZTongPhotoButton : UIButton <UIImagePickerControllerDelegate, UINavigationControllerDelegate, UIActionSheetDelegate>{
}

@property(nonatomic, assign)id<ZZTongPhotoButtonDelegate> delegate;
@property(nonatomic, assign)UIViewController *presentScreen;
@property(nonatomic, retain)UIImageView* photoImageView;

//@property(nonatomic, retain)UIImage* image;   // 当前的照片
//@property(nonatomic, retain)NSString* imgStr;  // 照片的hex字符串
//@property(nonatomic, retain)NSData* imgData;    //
@property(nonatomic)PhotoStatus buttonStatus;

- (void)setMsg:(NSString*)msg imageName:(NSString*)imageName status:(PhotoStatus)status helpImageName:(NSString*)helpImageName;

- (void)setMsg:(NSString*)msg imageName:(NSString*)imageName status:(PhotoStatus)status helpImageName:(NSString*)helpImageName url:(NSString*)url;

@end
